// 自动生成模板WorkflowOwner
package system1

import (
	"github.com/flipped-aurora/gin-vue-admin/server/global"
)

// 当前审批处理人 结构体  WorkflowOwner
type WorkflowOwner struct {
	global.GVA_MODEL
	Userid         int  `json:"userid" form:"userid" gorm:"column:userid;comment:;"`                           //用户id
	WorkflowDataId int  `json:"workflowDataId" form:"workflowDataId" gorm:"column:workflow_data_id;comment:;"` //审批申请Id
	CreatedBy      uint `gorm:"column:created_by;comment:创建者"`
	UpdatedBy      uint `gorm:"column:updated_by;comment:更新者"`
	DeletedBy      uint `gorm:"column:deleted_by;comment:删除者"`
}

// TableName 当前审批处理人 WorkflowOwner自定义表名 workflow_owner
func (WorkflowOwner) TableName() string {
	return "workflow_owner"
}
